package service.impl;

import dao.UserDao;
import dao.impl.DeptDaoImpl;
import pojo.User;
import service.UserService;

import java.util.List;

public class DeptServiceImpl implements UserService {


    UserDao userDao=new DeptDaoImpl();

    @Override
    public List<User> findAll() {
        UserDao userDao=new DeptDaoImpl();
        return userDao.findAll();
    }
}
